<script>
import Vue from 'vue'

import tabs from './tabs'
Vue.component('ion-tabs', tabs)

import header from './header'
Vue.component('ion-header', header)

import footer from './footer'
Vue.component('ion-footer', footer)

import footer2 from './footer2'
Vue.component('ion-footer2', footer2)


Vue.component('models', {
  // 声明 props
  props: ['message'],
  // 就像 data 一样，prop 可以用在模板内
  // 同样也可以在 vm 实例中像 “this.message” 这样使用
  template: '\
    <div v-on:click="aaa()">\
    dfsdfs\
    </div>\
  ',
  methods: {
	aaa: function(){
		console.log(this.message)
	}
  }
})


//import slide from './slide'
//Vue.component('ion-slide', slide)

import content from './content'
Vue.component('ion-content', content)

import content12 from './content12'
Vue.component('ion-content12', content12)


import characteristic from './characteristic'
Vue.component('ion-characteristic', characteristic)

import unlock from './unlock'
Vue.component('ion-unlock', unlock)

import loginPannel from './login_pannel'
Vue.component('ion-loginpannel', loginPannel)

</script>